<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:pt="http://xmlns.jcp.org/jsf/passthrough">

	<h:form>
		<p:slideMenu>
			<p:submenu label="Prodotti">
				<p:submenu label="Crea">
					<p:menuitem value="Alloggio" outcome="/employee/products/create/accomodation" />
					<p:menuitem value="Attività" outcome="/employee/products/create/activity" />
					<p:menuitem value="Trasporto" outcome="/employee/products/create/transport" />
				</p:submenu>
				<p:menuitem value="Lista" outcome="/employee/products/list" />
			</p:submenu>
			<p:submenu label="Pacchetti">
				<p:menuitem value="Crea" outcome="/employee/packages/edit" />
				<p:menuitem value="Lista" outcome="/employee/packages/list" />
			</p:submenu>
			<p:separator />
			<p:menuitem value="Logout" action="#{authBean.logout}"/>
		</p:slideMenu>
	</h:form>
</ui:composition>
